﻿<Window x:Class="CodeIn.Ui.MainWindowView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:status="clr-namespace:CodeIn.Ui.StatusBar"
		xmlns:term="clr-namespace:AurelienRibon.Ui.Terminal;assembly=AurelienRibon.Ui.Terminal"
		xmlns:dock="clr-namespace:CodeIn.Ui.Dock" xmlns:local="clr-namespace:CodeIn.Ui"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" Title="CodeIn developement"
		Height="910" Width="1200" WindowStartupLocation="CenterScreen" Style="{DynamicResource WindowStyle}"
		d:DataContext="{d:DesignInstance Type=local:MainWindowViewModelSample, IsDesignTimeCreatable=True}"
		TextOptions.TextFormattingMode="Display">

		<Grid Margin="5">
			<Grid.RowDefinitions>
				<RowDefinition Height="2.5*" />
				<RowDefinition Height="auto" />
				<RowDefinition Height="*" />
				<RowDefinition Height="auto" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*" />
				<ColumnDefinition Width="auto" />
				<ColumnDefinition Width="2.5*" />
			</Grid.ColumnDefinitions>

			<GridSplitter Grid.Row="1" Grid.ColumnSpan="3" Height="5" VerticalAlignment="Stretch"
					HorizontalAlignment="Stretch" ResizeBehavior="PreviousAndNext" Opacity="0" />

			<GridSplitter Grid.RowSpan="3" Grid.Column="1" Width="5" VerticalAlignment="Stretch"
					HorizontalAlignment="Stretch" ResizeBehavior="PreviousAndNext" Opacity="0" />

			<!-- TOP LEFT -->
			<dock:ChildTabControl Grid.Row="0" Grid.Column="0" ItemsSource="{Binding TopLeftTabItems}"
					IsSynchronizedWithCurrentItem="True" />

			<!-- BOTTOM LEFT -->
			<dock:ChildTabControl Grid.Row="2" Grid.Column="0" ItemsSource="{Binding BottomLeftTabItems}"
					IsSynchronizedWithCurrentItem="True" />

			<!-- MIDDLE -->
			<dock:MainTabControl Grid.Row="0" Grid.Column="2" ItemsSource="{Binding MiddleTabItems}"
					IsSynchronizedWithCurrentItem="True" />

			<!-- BOTTOM -->
			<dock:ChildTabControl Grid.Row="2" Grid.Column="2" ItemsSource="{Binding BottomTabItems}"
					IsSynchronizedWithCurrentItem="True" />

			<!-- STATUS BAR -->
			<status:StatusBarView Grid.Row="3" Grid.ColumnSpan="3" DataContext="{Binding StatusBarViewModel}"
					Margin="-5,5,-5,-5" />

		</Grid>

</Window>
